package com.prj.ufdm.cloud.feign.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.prj.ufdm.cloud.feign.model.FirstDemo;
import com.prj.ufdm.cloud.feign.bpo.FirstDemoBPO;

@RestController
public class FirstDemoApi {
	
	@Autowired
	private FirstDemoBPO firstDemoBPO;
	
	@RequestMapping("/test/demo")
	@ResponseBody
	public FirstDemo getFirstDemoTest() {
		return firstDemoBPO.getFirstDemoTest();
	}
}
